package dto

import "github.com/go-playground/validator"

func Validate(v interface{}) error {
	return validator.New().Struct(v)
}
